<#include "/lib/macro-lib.ftl"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<#include "../inc/commonJs.html">
<script src="../../js/calendar.js"></script>
<script>
<#if ret??>
  alert('${ret}');
</#if>
</script>
<body>
<div align="center" class="easyui-panel" data-options='fit:true,border:false'>
<br>
<table width="80%" class="table_all" align="center" border="0" cellpadding="0"
			cellspacing="0" style="margin-top: 0px">
<form name="frm" method="post" action="userlist.do">
<tr align="center">
<td class="td_table_1">成员名称：</td><td class="td_table_2"><input type="text" name="name2" value="${name2!}" ></td>
<td class="td_table_1">状态：</td><td class="td_table_2">
<select name="zt2" class="easyui-combobox">
    <option value="1" <#if zt2?? && zt2 == '1'>selected</#if>>启用</option>
   	<option value="0" <#if zt2?? && zt2 == '0'>selected</#if>>禁用</option>
</select>	
</td>
</tr>
</form>
</table>
<input type="submit" class="button_70px" value="查询">
<input type="reset" class="button_70px" value="重置">
&nbsp;
<input type="button" class="button_70px" value="增加用户"  onclick="window.location='useradd.do';">
<table width="80%" border="0" cellpadding="0" cellspacing="0" class="table_all">
	<tr align="center">
		<td class="td_list_1">排序</td>
		<td class="td_list_1">成员名称</td>
		<td class="td_list_1">成员性别</td>
		<td class="td_list_1">出生日期</td>
		<td class="td_list_1">每月限额</td>
		<td class="td_list_1">状态</td>
		<td class="td_list_1" width="180">操作</td>
	</tr>
<#list pager.result as obj >
	<tr align="center">
	<td class="td_list_2">
		${obj.px!}
	</td>
	<td class="td_list_2">
		${obj.name!}
	</td>
	<td class="td_list_2">
		<#if obj.sex=='0'>女<#else>男</#if>
	</td>
	<td class="td_list_2">
		${obj.birthday!}
	</td>
	<td align="right" class="td_list_2">
		#{obj.quota?default(0); m2}
	</td>
	<td class="td_list_2">
	<#if obj.zt=='1'>启用<#else>禁用</#if>
	</td>
		<td class="td_list_2">
		<a href="useredit.do?id=${obj.id}" class="btnEdit">修改</a>&nbsp;&nbsp;
		<a href="#" class="btnDel" onclick="if(window.confirm('确定要删除吗')) location='userdel.do?id=${obj.id}';">删除</a>&nbsp;&nbsp;
		</td>
	</tr>
</#list>
</table>
<br>
<p align="center">
<@pageUtil pager=pager></@pageUtil>
</p>
</div>
</body>
</html>